Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the strategy to avoid conflict between two different versions of Abseil #883

Merged
merged 11 commits into from
Jun 30, 2021

Conversation

maxgolov
Copy link
Contributor

Fixes #880 - this issue got closed by customer, since I provided a workaround. But I feel like this workaround needs to be properly documented.

Changes

The issue is that our snapshot of Abseil is defining properly-namespaced struct, whereas the stock Abseil does not. Then depending on inclusion order, if our API header gets included first - this completely confuses gcc. I have seen this issue with older Visual Studio 2015, but not with clang on Windows.

There may be a better strategy to solve this.. However, given we got a confirmation the mitigation strategy works well for the customer - I would like to apply this doc update, to explain how to avoid the issue. I'd defer a better fix until later moment (not sure if possible, most likely possible, e.g. rename the offending struct?)

@maxgolov maxgolov requested a review from a team June 29, 2021 23:43
@codecov
Copy link

codecov bot commented Jun 29, 2021

Codecov Report

Merging #883 (2b3d5e9) into main (0a3320e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #883   +/-   ##
=======================================
  Coverage   95.44%   95.44%           
=======================================
  Files         157      157           
  Lines        6633     6633           
=======================================
  Hits         6330     6330           
  Misses        303      303           

@lalitb lalitb merged commit b5dd914 into main Jun 30, 2021
@lalitb lalitb deleted the maxgolov/otlp_example_cleanup branch June 30, 2021 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OTLP GRPC CPP Exporter Does Not Compile
2 participants